<?php

class Core_Component_System_Controller_Backend_Theme{

    public function __construct() {
        $GLOBALS[RC]->getHelper()->setLocation('{system.system}', '{system.theme}');
    }
    
    public function mappingAction(){
        return array(
            'create'=>'edit'
        );
    }

    public function indexAction() {
        $list = App::getModel('system/theme')->getQuery()->fetch();
        return $GLOBALS[RC]->getHelper()->templateResult(array('list' => $list));
    }
}
